package com.dragon.modules.yuegou.service.points;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dragon.modules.yuegou.entity.points.SignDetailEntity;
import com.dragon.modules.yuegou.enums.points.DetailSource;
import com.dragon.modules.yuegou.model.points.SignDetail;

/**
 * 签到明细表 服务接口
 *
 * @author pbuilder generated
 * @date 2019-04-22 17:02:10
 * @version 2.0
 */
public interface SignDetailService extends IService<SignDetailEntity> {

    /**
     * 获取会员签到天数和连签天数
     * @param busdId
     * @param memberId
     * @return
     */
    SignDetail getSignDays(String busdId, String memberId);

    /**
     * 会员签到
     * @param busdId
     * @param memberId
     */
    void createSign(String busdId, String memberId, DetailSource detailSource);

}